package cn.com.bdqn.service.impl;

import cn.com.bdqn.dao.BasDictDao;
import cn.com.bdqn.entity.BasDict;
import cn.com.bdqn.service.BasDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BasDictServiceImpl implements BasDictService {

    @Autowired
    private BasDictDao dao;

    @Override
    public List<BasDict> queryByType(String dictType) {
        return dao.queryByType(dictType);
    }
}
